var put= function put(key,value){
    try {
        wx.setStorageSync(key, value);
    } catch (e) {
        console.log(e);
    }

};

var get= function get(key){
    try {
      return wx.getStorageSync(key);
    } catch (e) {
        console.log(e);
    }

};

module.exports = {
    put: put,
    get: get
};

